package com.tofindaway.dao;

import java.util.List;

public interface GenericDao<T> {

	public List<T> getList();

	public T findById(Long id);

	public void delete(T instance);

	public T deleteById(Long id);

	public void update(T instance);

	public void create(T instance);
}
